package com.example.fms.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("min_order_rule")
public class MinOrderRule {


    //id
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    //规则名称
    @TableField("rule_name")
    private String ruleName;

    //仓库
    @TableField("warehouse")
    private String warehouse;

    //规则类型
    @TableField("type")
    private String type;

    //省
    @TableField("province")
    private String province;

    //市
    @TableField("city")
    private String city;

    //区
    @TableField("area")
    private String area;

    //最小订单
    @TableField("min_order")
    private Integer minOrder;

    //固定费用
    @TableField("fixed_cost")
    private Integer fixedCost;

    //创建时间
    @TableField("create_time")
    private Date createTime;

    //更新时间
    @TableField("operation_time")
    private Date operationTime;


}
